package com.hoyue.common.utils;

/**
 * @author SiMan
 * @date 2019/8/28 0:31
 */
public class PageUtil {
	public static Integer getPageNo(Integer limit,Integer offset){
		return offset==0 ? 1 : offset / limit + 1;
	}
}
